﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SignalRHubs.Application
{
    public class ConstKey
    {
        public const string 群列表 = "GROUP_LIST:";
        public const string 用户列表 = "USER_LIST:";
        public const string 黑名单 = "BLACK_USER_LIST:";
        /// <summary>
        /// 群在线用户
        /// </summary>
        public const string 群在线用户列表 = "GROUP_ONLINE_USER_LIST:";
        /// <summary>
        /// 所有在线用户  用户根据connectionid 查找用户信息
        /// </summary>
        public const string 在线用户 = "ONLINE_CONNECTION_ID:";
    }

    public class ClaimConst
    {
        public const string ACCOUNT = "ACCOUNT";
        public const string NICKNAME = "NICKNAME";
    }
}
